package com.it.demo06;

public class Demo {
    public static void main(String[] args) throws InterruptedException {
//        System.out.println("睡觉前");
//        Thread.sleep(10000);
//        System.out.println("睡醒了");
        MyRunnable mr = new MyRunnable();
        Thread t1 = new Thread(mr);
        Thread t2 = new Thread(mr);
        t1.start();
        t2.start();
    }
}
